package com.hxy.springcloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor
@Accessors(chain = true)//开启链式写法
public class Department implements Serializable {
    private long departId;
    private String dName;
    private String db_source;

    public Department(String dName){
        this.dName = dName;
    }
}
